spb/market-atlas
Public
TypeScript 96.7%
SQL 1.6%
CSS 0.8%
JavaScript 0.5%
1import { permanentRedirect } from "next/navigation";23/** Friendly alias: /<class>/<SYMBOL> → canonical instrument page (the API resolves symbols and ids alike). */4export default async function Alias({ params }: { params: Promise<{ symbol: string }> }) {5 const { symbol } = await params;6 permanentRedirect(`/instruments/${encodeURIComponent(symbol)}`);7}8